require Not Empty
Deprecated
Use 'require_not_empty' instead
Checks for empty list and throws an exception if empty.
Alias
Alias target
Since
0.9.0
Parameters
value
The list to be checked.
message
The error message to be thrown if the list is empty.
Deprecated
Use 'require_not_empty' instead
Checks for empty set and throws an exception if empty.
Alias
Alias target
Since
0.9.0
Parameters
value
The set to be checked.
message
The error message to be thrown if the set is empty.
Deprecated
Use 'require_not_empty' instead
Checks for empty map and throws an exception if empty.
Alias
Alias target
Since
0.9.0
Parameters
value
The map to be checked.
message
The error message to be thrown if the map is empty.
Deprecated
Use 'require_not_empty' instead
Checks for precence of a value and throws an exception if null.
Alias
Alias target
Since
0.9.0
Parameters
value
The nullable or empty value to be checked.
message
The error message to be thrown if the value is null or empty.